# -*- python -*-
#
# Copyright (c) 2016 Stefan Seefeld
# All rights reserved.
#
# This file is part of Faber. It is made available under the
# Boost Software License, Version 1.0.
# (Consult LICENSE or http://www.boost.org/LICENSE_1_0.txt)

from faber.artefact import notfile, always
from faber.tools.python import python, pythonpath
from faber.artefacts.python import extension

greet = extension('greet', 'greet.c')
test = rule(python.run, 'test', 'greet_test.py',
            dependencies=greet,
            attrs=notfile|always,
            features=pythonpath(greet.path))

default = greet
